﻿
<div class="header">
    <div class="am-g">
        <h1>千净</h1>
        <p>项目管理后台</p>
    </div>
    <hr />
</div>
<div class="am-g">
    <div class="am-u-lg-6 am-u-md-8 am-u-sm-centered">
        <h3>登录</h3>
        <hr>
        <form method="post" action="~/admin/user/login" class="am-form">
            <label for="account">账号:</label>
            <input type="text" name="username" id="email" value="">
            <br>
            <label for="password">密码:</label>
            <input type="password" name="password" id="password" value="">
            <br>
            @if (!ViewBag.Success)
            {
                <div class="am-alert am-alert-danger">
                    @ViewBag.ErrMsg
                </div>
            }

            <label for="remember-me">
                <input id="remember-me" type="checkbox">
                记住密码
            </label>
            <br />
            <div class="am-cf">
                <input type="submit" name="" value="登 录" class="am-btn am-btn-primary am-btn-sm am-fl">
            </div>
        </form>
        <hr>
    </div>
</div>

@section Styles{
    @Styles.Render("~/cssbundles/admin/user/login")
    <style>
        .header {
            text-align: center;
        }

            .header h1 {
                font-size: 200%;
                color: #333;
                margin-top: 30px;
            }

            .header p {
                font-size: 14px;
            }
    </style>
}

@section Scripts{
    @Scripts.Render("~/jsbundles/admin/user/login")


}